Pelecard\Gateway D

Total Complexity 189
Dependencies 15
Dependents 7
Total lines 1,378
Lines of code 775
Logical lines of code 431
Comment lines 347
Methods 76
Properties 4

Methods 76

Method Rating Maintainability Complexity Lines of code
do_payment()
A
43 12 48
maybe_process_redirect_order()
A
47 10 36
charge_by_order()
A
46 7 37
process_payment()
S
49 7 30
get_saved_payment_method_option_html()
S
46 5 43
process_refund()
S
48 5 32
scheduled_subscription_payment()
S
54 5 20
validate_payment_range_field()
S
60 5 13
set_auth_number()
S
51 4 26
add_payment_method()
S
53 4 24
check_ipn_response()
S
55 3 19
has_subscription()
S
70 4 6
form()
S
59 3 14
charge_by_token()
S
59 3 14
get_minimum_payments()
S
62 3 11
get_maximum_payments()
S
62 3 11
change_subs_payment_method()
S
55 2 19
get_custom_payment()
S
66 3 8
save_payment_method_checkbox()
S
66 3 9
get_total_payments()
S
70 3 6
wcml_translated_keys()
S
64 3 9
get_password()
S
75 3 4
get_username()
S
75 3 4
get_terminal()
S
75 3 4
validate_total_payments()
S
64 3 8
skip_transaction_validation()
S
66 3 9
get_validated_token()
S
65 3 8
set_language()
S
64 3 10
get_checkout_total()
S
66 3 8
get_supported_cards()
S
59 2 14
get_option()
S
60 2 13
order_save_auth_number()
S
63 2 11
register_hooks()
S
54 1 21
get_supports()
S
58 1 18
__construct()
S
58 1 16
has_auth_number()
S
69 2 6
get_subscriptions_for_order()
S
70 2 6
maybe_save_payment_method()
S
67 2 8
update_order_payment_token()
S
69 2 7
save_token()
S
66 2 9
is_using_saved_payment_method()
S
75 2 4
get_user_nonce()
S
70 2 6
receipt_page()
S
63 2 10
get_order_total_payments()
S
75 2 4
get_order_payment_token()
S
66 2 9
get_new_payment_method_option_html()
S
72 2 6
saved_payment_methods()
S
72 2 6
is_wcml_active()
S
79 2 3
maybe_display_tokenization()
S
74 2 4
disable_payments_for_subscription()
S
79 2 3
cart_contains_subscription()
S
70 2 6
get_timeout_url()
S
68 2 7
is_subs_change_payment()
S
78 2 3
generate_payment_range_html()
S
79 1 3
get_title()
S
78 1 3
get_has_fields()
S
79 1 3
get_method_title()
S
78 1 3
get_method_description()
S
78 1 3
get_order_button_text()
S
78 1 3
get_saved_cards()
S
74 1 4
set_total_payments()
S
77 1 4
init_form_fields()
S
80 1 3
get_checkout_payment_token()
S
74 1 4
update_order_token_ids()
S
79 1 3
get_credit_card_type_labels()
S
66 1 8
get_minimum_credit_payments()
S
79 1 3
get_action_type()
S
82 1 3
order_save_total_payments()
S
76 1 4
get_total_payments_range()
S
79 1 3
failing_payment_method_update()
S
76 1 4
get_icon()
S
74 1 4
order_save_payment_method()
S
80 1 3
is_order_chargeable()
S
79 1 3
order_save_3ds_params()
S
70 1 6
order_mark_as_chargeable()
S
76 1 4
set_action_type()
S
77 1 4